package com.gcb.common.enums;

/**
 * 订单状态
 */
public enum DataScope {

    DATA_SCOPE_ALL("1", "自定数据权限"),
    DATA_SCOPE_CUSTOM("2", "自定数据权限"),
    DATA_SCOPE_DEPT("3", "部门数据权限"),
    DATA_SCOPE_DEPT_AND_CHILD("4", "部门及以下数据权限"),
    DATA_SCOPE_SELF("5", "仅本人数据权限");

    private final String code;
    private final String info;

    DataScope(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
